<?php $this->load->view('scenic/layout/header') ?>
<header class="my-head flex scenic-order-head">
    <div class="my-return">
        <a href="javascript:goHistoryBack('<?php echo site_url('home/ucenter/index'); ?>');">
            <i class="iconfont">&#xe606;</i>
        </a>
    </div>
    <div class="my-name">景区订单</div>
    <div class="my-return">
        <a href="<?php echo site_url('home/ucenter/index'); ?>">
            <i class="iconfont">&#xe622;</i>
        </a>
    </div>
</header>
<section class="list-text scenic-order-list widthMax">
    <dl class="list-dl flex" id="order-list-status">
        <dd class="active" data-type="0">
            <a href="javascript:;"><p>全部</p></a>
        </dd>
        <dd data-type="2">
            <a href="javascript:;"><p>待付款</p></a>
        </dd>
        <dd data-type="3">
            <a href="javascript:;"><p>待检票</p></a>
        </dd>
        <dd data-type="4">
            <a href="javascript:;"><p>已检票</p></a>
        </dd>
        <dd data-type="6">
            <a href="javascript:;"><p>已退票</p></a>
        </dd>
        <dd data-type="7">
            <a href="javascript:;"><p>已改票</p></a>
        </dd>
    </dl>
    <?php if (isset($orderList)) : ?>
        <ul class="list-ul list-ul-new" id="order-list">
            <?php $this->load->view('scenic/order/ajaxOrderList'); ?>
        </ul>
        
        <!-- 二维码检票弹出框 -->
        <div class="am-modal am-modal-no-btn code-collection-modal" tabindex="-1" id="code-collection-modal">
          <div class="am-modal-dialog">
            <a href="javascript: void(0)" class="am-close am-close-spin" data-am-modal-close>&times;</a>
            <div class="am-modal-hd">
              <p>六和塔景区</p>
              <p class="state">未检票</p>
            </div>
            <div class="am-modal-bd">
                <div class="order-code">
                    <img src="/skins/scenic/images/erweima.jpg">
                    <p>请向工作人员展示二维码入园</p>
                </div>
            </div>
          </div>
        </div>

        <div class="sec-load am-scrollspy-init <?php echo $more ? '' : 'am-hide'; ?>" id="load-more">
            <i class="iconfont am-animation-spin">&#xe60c;</i>
        </div>
        <div class="no-more <?php echo $more ? 'am-hide' : ''; ?>">
            没有更多了
        </div>
    <?php endif; ?>
    <div class="out-no flex flex-align-center <?php if ( ! empty($orderList)){echo 'am-hide';} ?> " id="page-empty">
        <div class="out-null">
            <i class="iconfont">&#xe625;</i>
            <p>您还没有订单记录</p>
        </div>
    </div>
</section>



<?php $this->load->view('scenic/layout/footer'); ?>
